package com.andova.component.pic;

import android.app.Application;

import androidx.annotation.NonNull;

import com.bumptech.glide.Glide;

/**
 * Created by Administrator on 2018-08-16.
 *
 * @author kzaxil
 * @since 0.0.1
 */
public class GlideComponent extends AndovaPicComponent {
    @Override
    protected void onCreate(@NonNull Application cxt) {
        Glide.get(cxt);
    }

    @Override
    protected void onLowMemory(@NonNull Application cxt) {
        Glide.get(cxt).onLowMemory();
    }

    @Override
    public GlideDisplay picDisplay() {
        return GlideDisplay.get();
    }

    @Override
    public IPicDisplayOption picDisplayOption() {
        return null;
    }
}
